//use jQuery ui Datepicker
Tapestry.Initializer.DateFieldEx = function(spec) {//
	jQuery("#" + spec.field).datepicker({ //
		changeMonth: true,changeYear: true,//
		dateFormat: 'yy-mm-dd',//
		showOtherMonths:true,selectOtherMonths: true//
	});
};